package com.leyou.order.service.mapper;

import com.leyou.common.bean.IBaseMapper;
import com.leyou.order.inter.dto.WebOrderPageDTO;
import com.leyou.order.inter.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends IBaseMapper<Order> {

    List<Order> queryOrderList(
            @Param("userId") Long userId,
            @Param("status") Integer status);

    List<Order> selectOrderByDto(WebOrderPageDTO dto);

}